extends ./../layout

block content
  div(class="row")
      div(class="ui middle aligned center aligned grid")
        div(class="column")
          h2(class="ui teal image header")
            img(src="/assets/images/logo.png", class="image")
          div.content 注册小博客

          form#reg-box(class="ui large form")
            div(class="ui stacked segment")
              div(class="field")
                div(class="ui left icon input")
                  i(class="user icon")
                  input.username(type="text",name="username",placeholder="请输入用户名")
              div(class="field")
                div(class="ui left icon input")
                  i(class="lock icon")
                  input.password(type="password",name="password",placeholder="请输入密码")
              div(class="field")
                div(class="ui left icon input")
                  i(class="lock icon")
                  input.repassword(type="password",name="password",placeholder="请再次输入密码")
              div(class="ui fluid large teal submit button") 注册
            div(class="ui error message")
          div(class="ui message")
            已有账号? <a href="/user/login">马上登录</a>
